package ar.com.ford.it.fullEconomics.facade;

import java.util.Collection;
import ar.com.ford.it.fullEconomics.exception.FullEconomicsException;
import ar.com.ford.it.fullEconomics.logic.VehiclelinLogic;
import ar.com.ford.it.fullEconomics.persistence.dto.Ncas012VehicleVw;

public class VehiclelinFacade {

    /**
     * 
     * @return
     * @throws FullEconomicsException
     */
    public Collection<Ncas012VehicleVw> findAllVehiclelin()
            throws FullEconomicsException {
        VehiclelinLogic logic = new VehiclelinLogic();

        return logic.findAllVehiclelin();
    }

    /**
     * 
     * @param pk
     * @return
     * @throws FullEconomicsException
     */
    public Ncas012VehicleVw findVehicleLineByPk(Ncas012VehicleVw pk)
            throws FullEconomicsException {
        VehiclelinLogic logic = new VehiclelinLogic();

        return logic.findVehicleLineByPk(pk);
    }
}
